# 计科1915班 0306224505 屠玉宝

with open('a.txt', 'r', encoding='utf-8') as f:
    text = f.read()
    print(text)

with open('b.txt', 'w', encoding='utf-8') as f:
    f.write('Hello, world! This is a sample text.')
